package com.university.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Pager entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "pager", catalog = "university")

public class Pager implements java.io.Serializable {

	// Fields

	private Integer pagerId;
	private String pagerKey;
	private Integer pagerValue;
	private String pagerInfo;

	// Constructors

	/** default constructor */
	public Pager() {
	}

	@Override
	public String toString() {
		return "Pager [pagerId=" + pagerId + ", pagerKey=" + pagerKey + ", pagerValue=" + pagerValue + ", pagerInfo="
				+ pagerInfo + "]";
	}

	/** full constructor */
	public Pager(String pagerKey, Integer pagerValue, String pagerInfo) {
		this.pagerKey = pagerKey;
		this.pagerValue = pagerValue;
		this.pagerInfo = pagerInfo;
	}

	// Property accessors
	@Id
	@GeneratedValue

	@Column(name = "pager_id", unique = true, nullable = false)

	public Integer getPagerId() {
		return this.pagerId;
	}

	public void setPagerId(Integer pagerId) {
		this.pagerId = pagerId;
	}

	@Column(name = "pager_key", length = 20)

	public String getPagerKey() {
		return this.pagerKey;
	}

	public void setPagerKey(String pagerKey) {
		this.pagerKey = pagerKey;
	}

	@Column(name = "pager_value")

	public Integer getPagerValue() {
		return this.pagerValue;
	}

	public void setPagerValue(Integer pagerValue) {
		this.pagerValue = pagerValue;
	}

	@Column(name = "pager_info", length = 50)

	public String getPagerInfo() {
		return this.pagerInfo;
	}

	public void setPagerInfo(String pagerInfo) {
		this.pagerInfo = pagerInfo;
	}

}